#ifndef WINDOWSPING_H
#define WINDOWSPING_H

#include "PingInterface.h"

class QProcess;

/**
 * @brief Class for pings for systems with Windows as os.
 */
class WindowsPing : public PingInterface
{
    Q_OBJECT

public:
    explicit WindowsPing( QObject *parent = NULL );
    void send( const QUrl &url );

private slots:
    void processFinished( int exitCode );

private:
    QProcess *mPingProcess;
};

#endif // WINDOWSPING_H
